﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace AGameOfThrones.ui
{
    public class state : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        protected void Notify(string property)
        {
            if (this.PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(property));
            }
        }

        private bool singleplayer = true;
        public bool SinglePlayer
        {
            get { return singleplayer; }
            set
            {
                if (singleplayer != value)
                {
                    singleplayer = value;
                    Notify("SinglePlayer");
                }
            }
        }


        private String userhouse = "Stark";
        public String UserHouse
        {
            get { return userhouse; }
            set
            {
                if (userhouse != value)
                {
                    userhouse = value;
                    Notify("UserHouse");
                }
            }
        }

        public bool OrderTokensVisible
        {
            get
            {
                return true;
            }
        }



    }
}
